const  koa = require("koa");
const app = new koa();
let initConfig = require('./init/config')
let filter = require("./filter")
const static = require("koa-static");
const path = require("path");
app.use(static(path.join(__dirname,"public")));
app.use(filter);
initConfig(app);
app.listen(8080);
